
import 'dart:isolate';

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class BaseLanguageTestPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final kSafeTop = MediaQuery.of(context).padding.top;
    return Scaffold(
      appBar: AppBar(
        title: Text(
          "测试 Isolate",
          style: TextStyle(
            color: Colors.white,
            fontSize: 18,
          ),
        ),
      ),
      body: Container(
        child: Center(
          child: ListView(
            children: <Widget>[
              FlatButton(
                child: Text(
                  "计算阶乘",
                  style: TextStyle(
                      color: Colors.amber,
                      fontSize: 15
                  ),
                ),
                onPressed: () async {
                },
              ),
              FlatButton(
                child: Text(
                  "计算阶乘",
                  style: TextStyle(
                      color: Colors.amber,
                      fontSize: 15
                  ),
                ),
                onPressed: () async {
                },
              ),
            ],
          ),
        ),
      ),
    );
  }

}